package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Driver implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 司机表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String phone;

    /**
     * 油积分
     */
    private BigDecimal opoints;

    /**
     * 气积分
     */
    private BigDecimal gpoints;

    /**
     * 车牌号
     */
    private String carid;

    /**
     * 普通积分
     */
    private BigDecimal npoints;

    /**
     * 支付密码
     */
    private String passwd;

    /**
     * 姓名
     */
    private String name;

    private String kz2;

    private String kz3;


}
